package algos;

public interface IVocabulary {

    public static final int NOT_FOUND = Integer.MIN_VALUE;

    // Maybe we will need some more func. from WordSet than just Iterable
    public interface IWordSet extends Iterable<Integer> {
    }

    public int getIndexFor(String word);

    public IWordSet getWordsWithPrefix(String prefix);

    public String getWordAt(int index);

    public int size();


    public void addWord(String word);

}
